package cn.sunshine;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;


/**
* @Description: 启动类
* @Author: Mr.Jiang
* @Version: 1.0
* @Date:  2022/6/21 17:04
*/
@SpringBootApplication
@MapperScan("cn.sunshine.*.mapper")
@ServletComponentScan(value={"cn.sunshine.basic.listener"})
public class PetHomeApp {
    public static void main(String[] args) {
        SpringApplication.run(PetHomeApp.class,args);
    }
}
